//
//  UIBarButtonItem+WhzCategory.h
//  WhzMT
//
//  Created by whz on 16/12/9.
//  Copyright © 2016年 whz. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (WhzCategory)

/**
 提供分类方法，返回带有高亮图像的 BarButtonItem

 @param target target
 @param action action
 @param icon icon
 @param highLightIcon highLigntIcon
 */
+ (instancetype)barButtonItemWithTarget:(id)target action:(SEL)action icon:(NSString *)icon highLightIcon:(NSString *)highLightIcon;

/**
 提供分类方法，返回带有高亮图像和文字的 BarButtonItem

 @param view view
 @param target target
 @param action action
 @param icon icon
 @param highLightIcon highLightIcon
 @param title1 title1
 @param title2 title2
 */
+ (instancetype)barButtonItemWithView:(UIView *)view Target:(id)target action:(SEL)action icon:(NSString *)icon highLightIcon:(NSString *)highLightIcon title1:(NSString *)title1 title2:(NSString *)title2;

@end
